package com.qianclass.talklive.app.bean;

/**
 * Created by admin on 2017/1/13.
 * <p>
 * 更新时间 2017/1/13
 * 更新描述 ${TODO}
 */

public class AuthOpenFile {

    /**
     * message: {"type":"whiteboard","authorization":"private","to":100000016,"from":100000015,"whiteboard":{"currentpage":1,"docid":"","docserver":"http://xx:8080/","domain":"http://doc1.xx.com/","filedir":"2HX6T0T6B4","fileid":1230,"filename":"ST_level1_U1-L1.pdf","pagenum":12,"subcommand":"openfile"}}
     */

    private MessageBean message;

    public MessageBean getMessage() {
        return message;
    }

    public void setMessage(MessageBean message) {
        this.message = message;
    }

    public static class MessageBean {
        /**
         * type : whiteboard
         * authorization : private
         * to : 100000016
         * from : 100000015
         * whiteboard : {"currentpage":1,"docid":"","docserver":"http://xxxxx:8080/","domain":"http://doc1.xx.com/","filedir":"2HX6T0T6B4","fileid":1230,"filename":"ST_level1_U1-L1.pdf","pagenum":12,"subcommand":"openfile"}
         */

        private String type;
        private String         authorization;
        private int            to;
        private int            from;
        private WhiteBoardBean whiteboard;

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getAuthorization() {
            return authorization;
        }

        public void setAuthorization(String authorization) {
            this.authorization = authorization;
        }

        public int getTo() {
            return to;
        }

        public void setTo(int to) {
            this.to = to;
        }

        public int getFrom() {
            return from;
        }

        public void setFrom(int from) {
            this.from = from;
        }

        public WhiteBoardBean getWhiteboard() {
            return whiteboard;
        }

        public void setWhiteboard(WhiteBoardBean whiteboard) {
            this.whiteboard = whiteboard;
        }

    }
}
